<?php
/**
 * Created by PhpStorm.
 * User: yiyu
 * Email: smalleasyu@gmail.com
 * Date: 2020-01-28 17:13:15
 * Desc:
 */

use think\Route;

Route::rule('/base/login', 'admin/AdminLoginController/Login'); //后台登录

Route::rule('/base/logout', 'admin/AdminLoginController/Logout'); //后台登出

Route::rule('/base/admin_info', 'admin/AdminHomeController/getAdminInfo'); //获取当前管理员信息

Route::rule('/base/home', 'admin/AdminHomeController/getHomeData'); //后台首页

Route::rule('/base/upload', 'admin/UploadController/upload'); //公用上传